<?php
class Menu_Mediator
{
    
    public function perform($GUID)
    {
        $guidDAO = new Utils_Guids();  
        $className = $guidDAO->guidToClass($GUID);
        $itemClass = new $className();

        $Result = $itemClass->doit();
        return $Result; 
    }
    
    
    
    public function first()
    {
        return  Zend_Json::encode(array('type'=>'list', 'items' => array(  
                                                                                              array(
                                                                                              			'title'=>'�������',
                                                                                              			'guid'=>md5('Menu_News')
                                                                                                        ),
                                                                                              array(
                                                                                              			'title'=>'����� �����-��',
                                                                                              			'guid'=>md5('Menu_XpeHb')
                                                                                                        ),
                                                                                                        
                                                                                                 )  ));
    }
    
    
    
    
    
    
}